package com.darren.euc.service;

import java.math.BigInteger;

import com.darren.euc.entity.PageBean;
import com.darren.euc.entity.TemporaryOrder;
import net.sf.json.JSONObject;

/**
 * Created by Machenike-Pc on 2018/4/3.
 */
public interface TemporaryOrderService {
    PageBean queryForPageUseHQL(JSONObject data, Integer pageSize, int currentPage);

    TemporaryOrder saveTempOrder(TemporaryOrder order) throws Exception;

    Integer getCurrentDayCount(Integer orderId);
    
    TemporaryOrder findById(Integer id);
}
